<?php
require_once( 'functions.php' );
/*
// IE8 не дает $_SERVER['HTTP_REFERER']
if( !check_referer() ) {
    header( 'Location: index.php' );
    exit(0);
}
*/
session_start();

if( !isset($_SESSION['dom_id']) || $_SESSION['dom_id'] == 0 ) {
    header( 'Location: index.php' );
    exit(0);
}

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Панель управления для пользователя домена</title>
<link rel="stylesheet" type="text/css" media="screen" href="css/cust-smooth/jquery-ui-1.8.7.custom.css" />
<link rel="stylesheet" type="text/css" media="screen" href="css/ui.jqgrid.css" mce_href="css/ui.jqgrid.css" />
<link rel="stylesheet" type="text/css" media="screen" href="js/cluetip/jquery.cluetip.css" mce_href="js/cluetip/jquery.cluetip.css" />
<link rel="stylesheet" type="text/css" media="screen" href="css/ipdepo.css" mce_href="css/ipdepo.css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery-ui.custom.min.js"></script>
<!-- 
Script grid.locale-ru.js must be loaded first, then jquery.jqGrid.min.js
--> 
<script type="text/javascript" src="js/i18n/grid.locale-ru.js"></script>
<script type="text/javascript" src="js/jquery.jqGrid.min.js"></script>
<script type="text/javascript" src="js/jquery.form.js"></script>
<script type="text/javascript" src="js/cluetip/jquery.cluetip.js"></script>
<!-- Application interface -->
<!-- *** min ***
-->
<script type="text/javascript" src="ipdepo-min.js"></script>
<script type="text/javascript" src="bw/bw-min.js"></script>
<script type="text/javascript" src="bw/mxl-stat-min.js"></script>
<script type="text/javascript" src="bw/av-stat-min.js"></script>
<script type="text/javascript" src="duser-min.js"></script>
<!-- *** full ***
<script type="text/javascript" src="ipdepo.js"></script>
<script type="text/javascript" src="bw/bw.js"></script>
<script type="text/javascript" src="bw/mxl-stat.js"></script>
<script type="text/javascript" src="bw/av-stat.js"></script>
<script type="text/javascript" src="duser.js"></script>
-->
</head>
<body>
<div class="img-loader ipdepo-icon-load32"></div>
<div class="img-loader ipdepo-icon-png32"></div>
<div class="img-loader ipdepo-icon-png16"></div>
<div id="main_panel" class="main_panel">
    <div class="top_panel ui-widget">
		<table><tr>
            <td><div id="DomainName" style="float:left; margin-right:20px;"></div>
                <div id="UserName" style="float:left;"></div></td>
            <td><div id="logout"></div><div id="swtooltips"></div><div id="helpbook"></div></td>
        </tr></table>
    </div>
    <div class="left_panel">
        <div class="ui-widget ui-widget-header ui-corner-all">
            <span>Меню операций</span><span id="busy_icon" style="float:right;display:none;">Progress ... </span>
        </div>
        <div id="accordion"></div>
        <div id='iReload'></div>
    </div>
    <div class="right_panel">
        <table id="bwTab"></table>
        <div id="bwTabPager"></div>
        <table id="mxStatTab"></table>
        <div id="mxStatTabPager"></div>
        <table id="avStatTab"></table>
        <div id="avStatTabPager"></div>
    </div>
</div>
<div id="DlgImport"></div>
<div id="AlertDlg"></div>
<div id="HelpDlg"></div>
</body>
</html>
